<%-- 
    Document   : me
    Created on : 2012-3-30, 16:56:15
    Author     : yilee
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page language="java" import="com.bjtu.lms.model.User"%>
<%
	User u = (User) request.getSession().getAttribute("user");
	if (u == null) {
		response.sendRedirect("user/login.jsp");
	}
%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>个人中心</title>
		<link rel="stylesheet" type="text/css" href="css/tripoli.simple.css"
			media="screen, projection, print" />
		<link rel="stylesheet" type="text/css" href="css/layout.css"
			media="screen, projection, print" />

		<!--[if IE]>
		  <link rel="stylesheet" type="text/css" href="css/ie/ie.css" media="screen, projection, print"
		  />
		<![endif]-->
		<!--[if lt IE 7]>
		  <script src="js/DD_belatedPNG_0.0.7a-min.js" type="text/javascript">
		  </script>
		  <script>
			DD_belatedPNG.fix(' #header, h1, h1 a, .close, .field,.paginate .current, .icon, .required-icon, .search input');
		  </script>
		  <link rel="stylesheet" href="css/ie/ie6.css" type="text/css" media="screen, projection"
		  />
		<![endif]-->
</script>
	</head>
	<body>
		<!-- Header -->
		<div id="header">
			<div class="container content">
				<h1>
					<a href="viewBookListAction"> 图书管理系统 </a>
				</h1>

				<div class="loginInfos">
					欢迎您
					<strong> ${user.name} </strong> .
					<a href='logout'>退出系统</a>
				</div>
			</div>
		</div>
		<!-- /Header -->
		<div id="page-content">
			<div class="container content">
				<!-- Sidebar -->
				<div id="sidebar" class="bImg">
					<div class="bInner">
						<span class="bTR"> </span>
						<span class="bBL"> </span>
						<ul id="side-nav">
							<li class="inactive">
								<a href="#" title="Posts" class="button"> <strong>
										<img src="img/newspaper_48.png" alt="comments" class="icon " />
										<span class="title"> 图书馆 </span> <span class="expand expanded">
									</span> </strong> </a>
								<ul>
									<li>
										<a href="viewBookListAction" title="Manage tags"> 图书列表 </a>
									</li>
								</ul>
							</li>

							<li class="active">
								<a href="#" title="Pages" class="button"> <strong>
										<img src="img/spanner_48.png" alt="comments" class="icon " />
										<span class="title"> 个人信息 </span> <span class="expand">
									</span> </strong> </a>
								<ul>
									
									<li class="active">
										<a href="me"> 个人信息 </a>
									</li>
									<li>
										<a href="currentBorrowAction"> 当前借阅 </a>
									</li>
									<li>
										<a href="historyBorrowAction"> 借阅历史 </a>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</div>
				<!-- /Sidebar -->
				<!-- Content -->
				<div id="content" class="roundedBorders">
					<!-- Title -->
					<div id="title" class="b2">
						<h2>
							个人信息
						</h2>
					</div>
					<!-- Title -->
					<!-- Inner Content -->
					<div id="innerContent">
					<p>账号：${user.username}</p>
					<p>姓名：${user.name}</p>
					<p>电话.：${user.phone}</p>
					<p>Email：${user.username}</p>
					<p>状态：${userType.type}</p>
					<p>罚金：${userType.fine} 元</p>
					</div>
					<!-- /Inner Content -->
					<div class="bBottom">
						<div>
						</div>
					</div>
				</div>
				<!-- /Content -->
	</body>
</html>
